package models

import (
	"github.com/daqing/airway/lib/sql"
)

type TodoItem struct {
	ID    sql.IdType `json:"id"`
	Title string     `json:"title"`

	// CreatedAt time.Time `json:"created_at"`
	// UpdatedAt time.Time `json:"updated_at"`
}

func (TodoItem) TableName() string {
	return "todos"
}
